/*
 * @Author: 郭招娣 10615594+guo-zhaodi@user.noreply.gitee.com
 * @Date: 2022-08-30 14:27:43
 * @LastEditors: 郭招娣 10615594+guo-zhaodi@user.noreply.gitee.com
 * @LastEditTime: 2022-09-01 20:28:46
 * @FilePath: \app\src\App.tsx
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import React from 'react';
import styles from './App.module.css'

import { BrowserRouter ,Switch, Route } from 'react-router-dom'
import { Home } from './page';

const App: React.FC = () => {
  return (
    
    <div className={styles.app}>
      <BrowserRouter>
        <Switch>
           <Route exact path={'/'} component={Home}></Route>
           <Route render={() => <div>404 页面不存在</div>} />
        </Switch>
      </BrowserRouter>
    </div>

  );
}

export default App;

